<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <BUTTON onclick="test();">test</BUTTON>
</body>
<script>
    var test = function() {
        $.post("DatabaseAccess", {data: "postings.html"}, function (data, status) {
            alert("test");
            //jsonArray = JSON.parse(data);

            alert(data);
            //alert(data[0]);

            //josnsize = jsonArray.length;
            //alert('数据：'+jsonArray[11].title+'状态：'+status);
            //console.log('前端：'+jsonArray);
            //alert(postpoint);
        });
    }
</script>
<script src="./js/JQ.js"></script>
</html>